{include file="header.php"}

<h2>{$user.firstname} {$user.lastname}</h2>

<div class="actions">
	<a href="{$site_url}?controller=user&action=editprofile" class="link-button link-button-green">
		Edit Profile
	</a>,
	
	<a href="{$site_url}?controller=user&action=avatar" class="link-button link-button-green">
		Change Avatar
	</a>
</div>


<div style="float: left; width: 100px; margin-top: 20px;">
	{if $user.avatar != ''}
	<img src="{$base_url}/uploads/{$user.avatar}" />
	{else}
	<img src="{$base_url}/uploads/no-image.jpg" />
	{/if}
</div>


<table style="float: left; margin: 10px 0 0 20px; width: auto;">
	<tr>
		<td>Firstname</td>
		<td>{$user.firstname}</td>
	</tr>
	<tr>
		<td>Lastname</td>
		<td>{$user.lastname}</td>
	</tr>
	<tr>
		<td>Username</td>
		<td>{$user.username}</td>
	</tr>
	<tr>
		<td>E-mail</td>
		<td>{$user.email}</td>
	</tr>
	<tr>
		<td>Telephone</td>
		<td>{$user.no_telefon}</td>
	</tr>
	<tr>
		<td>Gender</td>
		<td>{$user.jantina}</td>
	</tr>
</table>

{include file="footer.php"}
